home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #6
/
Amiga Plus CD - 1996 - No. 06.iso
/
pd
/
grafik
/
picview202
/
rexx
/
picturecopy.rexx
next >
Wrap
OS/2 REXX Batch file
|
1996-06-24
|
689b
|
31 lines
/******************************************************/
/* PictureCopy.rexx $VER: 1.0 (24.06.96) for PicView */
/* (C) 1996 Holger Papajewski papa@ami.boerde.de */
/******************************************************/
OPTIONS RESULTS
ADDRESS "PICVIEW.1"
CALL ADDLIB('rexxreqtools.library',0,-30,0)
dir = rtfilerequest(,,'Select Destination For Pictures',,'rtfi_flags = freqf_nofiles' 'rtfi_initialpath = ""')
GETNEXTSELECT START
num = result
DO WHILE num ~= -1
GETPICDATA num FILE
source = '"' || result || '"'
GETPICDATA num NAME
dest = '"' || dir || result || '"'
ADDRESS COMMAND
'copy' source dest
ADDRESS "PICVIEW.1"
GETNEXTSELECT
num = result
END